import type { RouteRecordRaw } from "vue-router";

const routes: RouteRecordRaw[] = [
  /* ========================= 入口 ========================= */
  // 链接删除管理
  {
    path: "/",
    name: "linkManagement",
    component: () => import("./views/linkManagement/index.vue"),
  },
  {
    path: "/linkDeletionManagementPage",
    name: "linkDeletionManagementPage",
    component: () =>
      import("./views/linkManagement/LinkDeletionManagement/components/LinkDeletionManagementPage.vue"),
  },
  {
    path: "/linkDeletionManagementInfo",
    name: "linkDeletionManagementInfo",
    component: () =>
      import("./views/linkManagement/LinkDeletionManagement/components/LinkDeletionManagementInfo.vue"),
  },
  // 链接插入
  {
    path: "/linkInsertion",
    name: "linkInsertion",
    component: () => import("./views/linkManagement/LinkInsertion/index.vue"),
  },
  {
    path: "/linkInsertionPage",
    name: "linkInsertionPage",
    component: () =>
      import("./views/linkManagement/LinkInsertion/components/LinkInsertionPage.vue"),
  },
  {
    path: "/linkInsertionInfo",
    name: "linkInsertionInfo",
    component: () =>
      import("./views/linkManagement/LinkInsertion/components/LinkInsertionInfo.vue"),
  },
];

export default routes;
